﻿@using PopForums.Controllers
@model PopForums.Models.TopicUnsubscribeContainer
@{
    ViewBag.Title = PopForums.Resources.Unsubscribe;
    Layout = "~/Areas/PopForums/Views/Shared/PopForumsMaster.cshtml";
}

<div id="TopBreadcrumb" class="navAbsolute">
	<h1>@PopForums.Resources.Unsubscribe</h1>
	<p>
		^ @Html.ActionLink(PopForums.Resources.Forums, "Index", ForumHomeController.Name, null, null)
	</p>
</div>

@if (Model.Topic != null && Model.User != null)
{
	<p>@Model.User.Name is unsubscribed from @Html.ActionLink(Model.Topic.Title, "Topic", "Forum", new { id = Model.Topic.UrlName, page = 1 }, null)</p>
}
else
{
	<p>@PopForums.Resources.InvalidLink @Html.ActionLink(PopForums.Resources.Unsubscribe, "Topics", "Subscription")</p>
}